<!-- eslint-disable vue/multi-word-component-names -->
<!-- eslint-disable vue/no-mutating-props -->
<template>
    <labelArea label="积分器和滤波器初始条件">
        <el-form size="small" label-width="auto" label-suffix=" :">
            <!-- <el-form-item label="源">
                <el-select v-model="config.source">
                    <el-option label="内部" :value="1"></el-option>
                    <el-option label="外部" :value="2"></el-option>
                </el-select>
            </el-form-item> -->
            <el-form-item v-if="config.source == 1" label="积分器">
                <el-input v-model="data.InitialConditionForIntegrator" placeholder=""></el-input>
            </el-form-item>
            <el-form-item v-if="config.source == 1" label="滤波器">
                <el-input v-model="data.InitialConditionForFilter" placeholder=""></el-input>
            </el-form-item>
        </el-form>
    </labelArea>
    <!-- <labelArea label="外部重置">
        <el-form size="small" label-width="auto" label-suffix=" :">
            <el-form-item label="外部重置">
                <el-select v-model="data.type">
                    <el-option label="矩形" value="rect"></el-option>
                    <el-option label="圆形" value="circle"></el-option>
                </el-select>
            </el-form-item>
            <el-form-item>
                <ctcheckbox v-model="data.ZeroCross">线性化时忽略重置</ctcheckbox>
            </el-form-item>
        </el-form>
    </labelArea>
    <labelArea label="跟踪模式">
        <el-form size="small" label-suffix=" :">
            <el-form-item>
                <el-checkbox v-model="data.check">启用跟踪模式</el-checkbox>
            </el-form-item>
            <el-form-item label="跟踪系数(Kt)">
                <el-input :disabled="!data.check" v-model="data.time" placeholder=""></el-input>
            </el-form-item>
        </el-form>
    </labelArea> -->
</template>

<script setup>
const { data, config } = defineProps(['data', 'config'])


</script>


<style scoped></style>